package com.whacos.common.enums;

/**
 * @author xiongdun
 * @description Constant
 * @since 2018/11/17 17:11
 */
public class Constant {
    //演示系统账户
    public static final String DEMO_ACCOUNT = "test";

    public static final Long DEFAULT_USER_ID = 1L;

    //自动去除表前缀
    public static final String AUTO_REMOVE_PRE = "true";
    //停止计划任务
    public static final String STATUS_RUNNING_STOP = "stop";
    //开启计划任务
    public static final String STATUS_RUNNING_START = "start";
    //通知公告阅读状态-未读
    public static final String OA_NOTIFY_READ_NO = "0";
    //通知公告阅读状态-已读
    public static final int OA_NOTIFY_READ_YES = 1;
    //部门根节点id
    public static final Long DEPT_ROOT_ID = 0L;
    // 缓存方式 -- redis
    public static final String CACHE_TYPE_REDIS = "redis";

    // 缓存方式 -- ehcache
    public static final String CACHE_TYPE_EHCACHE = "ehcache";

    public static final String DEFAULT_CACHE_NAME = "sysCache";

    public static final String LOG_ERROR = "error";

    public static final String DEMO_DESCRIPTION = "演示系统不允许修改,完整体验请部署程序";

}
